package cn.tedu.cs.baking.dao;


import cn.tedu.cs.baking.pojo.po.User;
import cn.tedu.cs.baking.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface UserMapper {
    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<UserVO> getList(@Param("index") Integer index, @Param("pageSize") Integer pageSize);

    int deleteById(Long id);
}